package com.xqboss.apps.dto.equipment;

import com.xqboss.apps.domain.nft.NftOld;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * <p>
 *     添加装备
 * </p>
 * @author Trent
 * @date 2023/8/17
 */
@Data
@ApiModel
public class AddEquipmentDto extends NftOld {

    @ApiModelProperty("初始属性模板ID")
    @NotNull(message = "请输入初始属性模板")
    private Long attrTemplateId;

    @ApiModelProperty("稀有度ID")
    @NotNull(message = "请选择稀有度")
    private Long rarity;

}
